<p style="padding-top: 10px;font-size: 20px; padding: 10px;padding-left: 10px;background-color: #e87c3a;">
    注册</p>
  <img src="../../../assets/logo2.jpg" alt="" width="100%" height="300px" style="margin-bottom: 40px;" >
  <ion-list *ngIf="!userdata">
      <ion-item>
        <ion-input label="账号" placeholder="请输入账号名" [(ngModel)]="name"></ion-input>
      </ion-item>
      <ion-item>
        <ion-input label="密码" placeholder="请输入密码" [(ngModel)]="password"></ion-input>
      </ion-item>
  </ion-list>

    <button style=" border:1px solid #e87c3a;width: 150px;height: 40px;border-radius: 10px;margin-top: 50px;margin-left: 100px;" routerLink="/mobile-cooking/sign" (click)="login()">注册</button>

